package multithread.framework.constant;


public interface XMLConfigConstant {

	// all the element names
	String ROOT_ELEMENT = "suite";
	String CASE_ELEMENT = "case";
	String COMMON_ELEMENT = "common";
	String ALLBEFORE_ELEMENT = "allbefore";
	String ALLAFTER_ELEMENT = "allafter";
	String GROUPBEFORE_ELEMENT = "groupbefore";
	String GROUPAFTER_ELEMENT = "groupafter";
	String BEFORE_ELEMENT = "before";
	String AFTER_ELEMENT = "after";
	String CLASS_ELEMENT = "class";
	String TIMEOUT_ELEMENT = "timeout";
	String GROUP_ELEMENT = "group";
	String MEHTODS_ELEMENT = "methods";
	String METHOD_ELEMENT = "method";
	String POARAMS_ELEMENT = "params";
	String PARAM_ELEMENT = "param";
	String VALUES_ELEMENT = "values";
	String VALUE_ELEMENT = "value";
	String NULL_ELEMENT = "null";

	// all the property names
	String NAME_PROPERTY = "name";
	String TYPE_PROPERTY = "type";
	String THREAD_PROPERTY = "thread";
	String CLASS_PROPERTY = "class";
	String VALUE_PROPERTY = "value";
	String REF_PROPERTY = "ref";
	String REPEAT_PROPERTY = "repeat";
	String ELEMENT_TYPE_PROPERTY = "elementType";
	
	//ANNOTATION type values in XML configuration file
	int NONE_THREAD_GROUP_TYPE = 0;
	int THREAD_GROUP_FOR_TYPE = 1;
	int THREAD_BEFORE_TYPE = 2;
	int THREAD_AFTER_TYPE = 3;
	int THREAD_GROUP_BEFORE_TYPE = 4;
	int THREAD_GROUP_AFTER_TYPE = 5;
	int THREAD_ALL_BEFORE_TYPE = 6;
	int THREAD_ALL_AFTER_TYPE = 7;
	int THREAD_FOR_TYPE = 8;
	
	String COMMA_SEPARATOR = ",";

}
